package com.atguigu.lease.common.exceptionHandle;

import com.atguigu.lease.common.result.ResultCodeEnum;

public class BusiException extends RuntimeException {
    private Integer code;
    private String message;

    public BusiException(ResultCodeEnum e) {
        this.code = e.getCode();
        this.message = e.getMessage();
    }

}
